/*
 * MODULE NAME:    tci_transport_emu.h
 * DESCRIPTION:    TCI Transport Driver Header for Win32 - Emulated TCI bus
 * AUTHOR:         Jenny Murphy
 * DATE:           27 September
 *
 * SOURCE CONTROL: $Id: tci_transport_pipe.h,v 1.1 2008/01/03 06:55:12 tianwq Exp $
 *
 * LICENSE:
 *     This source code is copyright (c) 2000-2002 Parthus Technologies.
 *     All rights reserved.
 *
 */


#ifndef TCI_TRANSPORT_PIPE_H
#define TCI_TRANSPORT_PIPE_H

#include "host_config.h"

#define WIN32_LEAN_AND_MEAN
#include "windows.h"


#define _tcs_MODULENAME _T("TCI_Transport_Win32")
#define MODULENAME "TCI_Transport_Win32"


#if pDEBUG
#	define DEBUGBUFLEN		4096 /* used for debugging output only */
#endif

#define REG_VALUE_MAXLEN 255

#define MAX_TCI_PDU_LEN 65536 

#define RS232_ERROR_MSG_LEN   4
#define RS232_NEGOT_MSG_LEN   8

/*  TCI RS232 Packet Types */
#define RS232_TCI_COMMAND 0x1
#define RS232_TCI_ACLDATA 0x2
#define RS232_TCI_SCODATA 0x3
#define RS232_TCI_EVENT   0x4
#define RS232_ERROR_MSG   0x5
#define RS232_NEGOT_MSG   0x6

/* Header Lenghts */
#define TCI_pduCOMMANDHEADER	0x03
#define TCI_pduACLDATAHEADER	0x04
#define TCI_pduSCODATAHEADER	0x03
#define TCI_pduEVENTHEADER		0x02

#endif

